package org.holynite.fieldmanage.managed.model

import javax.faces.bean.ManagedBean
import javax.faces.bean.ViewScoped

/**
 * Created by midnite on 15/1/31.
 */
@ManagedBean
@ViewScoped
class RoleManageFormBean implements Serializable {
    Boolean addMode
    String roleName
    List<String> selectedPrivileges

    RoleManageFormBean() {
        addMode = false
    }

    void clearForm() {
        roleName = ""
        selectedPrivileges = []
    }


}
